diff --git a/inc/auth/ad.class.php b/inc/auth/ad.class.php
index cb59c5a482cb6f4951ddc8c56d671041c196bf3a..dc1fef17a3f6250458033796fc0cf826ef59ad6f 100644
--- a/inc/auth/ad.class.php
+++ b/inc/auth/ad.class.php
@@ -149,6 +149,7 @@ class auth_ad extends auth_basic {
    function getUserData($user){
         global $conf;
         global $lang;
+        global $ID;
         if(!$this->_init()) return false;
 
         if($user == '') return array();
@@ -206,7 +207,12 @@ class auth_ad extends auth_basic {
 
             // if this is the current user, warn him
             if( ($_SERVER['REMOTE_USER'] == $user) && ($timeleft <= $this->cnf['expirywarn'])){
-                msg(sprintf($lang['authpwdexpire'],$timeleft));
+                $msg = sprintf($lang['authpwdexpire'],$timeleft);
+                if($this->canDo('modPass')){
+                    $url = wl($ID,array('do'=>'profile'));
+                    $msg .= ' <a href="'.$url.'">'.$lang['btn_profile'].'</a>';
+                }
+                msg($msg);
             }
         }
 
diff --git a/inc/lang/de/lang.php b/inc/lang/de/lang.php
index 8fdffd66e49de25ed2846835bdc7309af87a04bd..c7b2d7893047dced1fd459e851e75f31d85c286b 100644
--- a/inc/lang/de/lang.php
+++ b/inc/lang/de/lang.php
@@ -268,7 +268,7 @@ $lang['subscr_style_digest']   = 'Zusammenfassung der Änderungen für jede ver
 $lang['subscr_style_list']     = 'Liste der geänderten Seiten (Alle %.2f Tage)';
 $lang['authmodfailed']         = 'Benutzerüberprüfung nicht möglich. Bitte wenden Sie sich an den Systembetreuer.';
 $lang['authtempfail']          = 'Benutzerüberprüfung momentan nicht möglich. Falls das Problem andauert, wenden Sie sich an den Systembetreuer.';
-$lang['authpwdexpire']         = 'Ihr Passwort läuft in %d Tag(en) ab. Sie sollten es <a href="?do=profile">ändern</a>.';
+$lang['authpwdexpire']         = 'Ihr Passwort läuft in %d Tag(en) ab, Sie sollten es bald ändern.';
 $lang['i_chooselang']          = 'Wählen Sie Ihre Sprache';
 $lang['i_installer']           = 'DokuWiki Installation';
 $lang['i_wikiname']            = 'Wiki-Name';
diff --git a/inc/lang/en/lang.php b/inc/lang/en/lang.php
index 9250d119abe9f7c59973af32e2e273a7160f2abc..5c8628da5a9c3782222591cb550d9a5319087cec 100644
--- a/inc/lang/en/lang.php
+++ b/inc/lang/en/lang.php
@@ -275,7 +275,7 @@ $lang['subscr_style_list']          = 'list of changed pages since last email (e
 /* auth.class language support */
 $lang['authmodfailed']         = 'Bad user authentication configuration. Please inform your Wiki Admin.';
 $lang['authtempfail']          = 'User authentication is temporarily unavailable. If this situation persists, please inform your Wiki Admin.';
-$lang['authpwdexpire']         = 'Your password will expire in %d days. You should <a href="?do=profile">change it</a>.';
+$lang['authpwdexpire']         = 'Your password will expire in %d days, you should change it soon.';
 
 /* installer strings */
 $lang['i_chooselang']          = 'Choose your language';