Replies: 1 comment
-
|
You are right. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When installing TeamPass, you will be asked to enter a password to create an admin account. By default, this account does not have an email address. The user will use this account only for administration/maintenance purposes and will not enter an email address.
Trying to edit a user, having only that administration account, without the email filled in, the edit fails without any feedback to the user. There is a feedback message, but it does not displayed, because the page is refreshed.
Here is the code snippet that reflects the question below: https://github.com/nilsteampassnet/TeamPass/blob/5a0744f8bf3e926411fae05a214f1bd1e5d47fdc/sources/users.queries.php#L1446C13-L1467C20
Which of the following is the best solution or do you suggest something else?
I highlighted solution 1, because it is my favorite. As for solution 3, it is quite elegant.
Beta Was this translation helpful? Give feedback.
All reactions