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
-
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