Skip to content

Feature/234 add multifactor management#235

Open
l-friebe wants to merge 20 commits into
developfrom
feature/234-add-multifactor-management
Open

Feature/234 add multifactor management#235
l-friebe wants to merge 20 commits into
developfrom
feature/234-add-multifactor-management

Conversation

@l-friebe

Copy link
Copy Markdown
Contributor

No description provided.

@l-friebe l-friebe linked an issue Jun 16, 2026 that may be closed by this pull request
result.setUsername(username);
result.setName(name);
}
} catch (Exception e) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't use generic exceptions

"users.mfa.device.name": "Gerätename",
"users.mfa.buttons.delete": "2. Faktor zurücksetzen",
"users.mfa.delete.confirmation.title": "Zweiten Faktor zurücksetzen",
"users.mfa.delete.confirmation.message": "Zweiten Faktor für {{username}} wirklich zurücksetzen? {{username}} muss beim nächsten Login einen neuen 2. Faktor einrichten.",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unify quoting for username.

"users.mfa.device.name": "Device name",
"users.mfa.buttons.delete": "Reset two-factor authentication",
"users.mfa.delete.confirmation.title": "Reset two-factor authentication",
"users.mfa.delete.confirmation.message": "Reset the two-factor authentication for {{username}}? {{username}} must configure the second factor on the next login.",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unify quoting

signal: signal
});

if (response.status < 200 || response.status > 299) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

usermgt allready imports lodash.
import { inRange } from 'lodash';
inRange(status, 200, 300) (excludes 300)

as this is used very often it could be a helper function

validStatus(status) {
  return inRange(status, 200, 300)
}

signal: signal,
} as any);

if (response.status < 200 || response.status > 299) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

helper - see comment above

{}
);

if (response.status < 200 || response.status > 299) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

helper - see comment above

Comment thread dogu.json
{
"Name": "official/usermgt",
"Version": "1.21.0-4",
"Version": "1.21.0-511",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert to -4 before release

Comment thread dogu.json
{
"Name": "experimental/totp/api_user_name",
"Description": "Warning: Experimental Feature. Username for totp administration. Supply the same username to the usermgt dogu.",
"Default": "admin123",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no defaults

Comment thread dogu.json
{
"Name": "experimental/totp/api_user_password",
"Description": "Warning: Experimental Feature. API password for totp administration. Supply the same password to the usermgt dogu.",
"Default": "password123",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no defaults

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add multifactor management

3 participants