diff --git a/views/users/account.hbs b/views/users/account.hbs index 352ce1dc..1fc6724a 100644 --- a/views/users/account.hbs +++ b/views/users/account.hbs @@ -7,58 +7,66 @@
-
+{{#if ldap.enabled}} +

+ This account is managed through LDAP.
+
+ Associated Email Address: {{email}} +

+{{else}} + - + -
- - General Settings - +
+ + General Settings + + +
+ +
+ + This address is used for account recovery in case you loose your password +
+
+ +
+
+ + Password change + + +

+ You only need to fill out this form if you want to change your current password +

+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ +
- -
- - This address is used for account recovery in case you loose your password +
+
-
-
- - Password change - - -

- You only need to fill out this form if you want to change your current password -

- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
- -
- -
-
- -
-
- -
+ +{{/if}} diff --git a/views/users/forgot.hbs b/views/users/forgot.hbs index 369b3168..a38a3325 100644 --- a/views/users/forgot.hbs +++ b/views/users/forgot.hbs @@ -8,22 +8,30 @@
-

Please provide the username or email address that you used when you signed up for your Mailtrain account.

-

We will send you an email that will allow you to reset your password.

+{{#if ldap.enabled}} +

+ Accounts are managed through LDAP.
+
+ Reset Password +

+{{else}} +

Please provide the username or email address that you used when you signed up for your Mailtrain account.

+

We will send you an email that will allow you to reset your password.

-
+ - + -
- -
- +
+ +
+ +
-
-
-
- +
+
+ +
-
- + +{{/if}} diff --git a/views/users/login.hbs b/views/users/login.hbs index 5beaa470..bf88eef9 100644 --- a/views/users/login.hbs +++ b/views/users/login.hbs @@ -32,7 +32,12 @@
- or Forgot password? + or + {{#if ldap.enabled}} + Forgot password? + {{else}} + Forgot password? + {{/if}}