Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

login: restrict archived users (fixes #7380) #7382

Merged
merged 5 commits into from
Dec 27, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update login-form.component.ts
  • Loading branch information
Mutugiii committed Dec 21, 2023
commit e32b33870c5758eea940c437b58cf8e349fb150e
2 changes: 1 addition & 1 deletion src/app/login/login-form.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export class LoginFormComponent {
checkArchiveStatus(name) {
this.couchService.get('_users/org.couchdb.user:' + name).subscribe((userData) => {
if (userData?.isArchived) {
this.errorHandler($localize`Member ${name} is archived`)();
this.errorHandler($localize`Member ${name} is not registered`)();
}
});
return true;
Expand Down
Loading