Change your Password
You do not have permission to change your password. Reach out to the admin of the server.
+All 3rd Party clients will either use the API key or the Connection Url below. These are like passwords, keep it private.
diff --git a/UI/Web/src/app/user-settings/user-preferences/user-preferences.component.ts b/UI/Web/src/app/user-settings/user-preferences/user-preferences.component.ts index 4c7f7ff08..3aec4e8a2 100644 --- a/UI/Web/src/app/user-settings/user-preferences/user-preferences.component.ts +++ b/UI/Web/src/app/user-settings/user-preferences/user-preferences.component.ts @@ -11,6 +11,7 @@ import { AccountService } from 'src/app/_services/account.service'; import { NavService } from 'src/app/_services/nav.service'; import { ActivatedRoute } from '@angular/router'; import { SettingsService } from 'src/app/admin/settings.service'; +import { Member } from 'src/app/_models/member'; @Component({ selector: 'app-user-preferences', @@ -28,6 +29,7 @@ export class UserPreferencesComponent implements OnInit, OnDestroy { passwordChangeForm: FormGroup = new FormGroup({}); user: User | undefined = undefined; isAdmin: boolean = false; + hasChangePasswordRole: boolean = false; passwordsMatch = false; resetPasswordErrors: string[] = []; @@ -85,6 +87,7 @@ export class UserPreferencesComponent implements OnInit, OnDestroy { if (user) { this.user = user; this.isAdmin = this.accountService.hasAdminRole(user); + this.hasChangePasswordRole = this.accountService.hasChangePasswordRole(user); if (this.fontFamilies.indexOf(this.user.preferences.bookReaderFontFamily) < 0) { this.user.preferences.bookReaderFontFamily = 'default';