mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-02 20:38:30 +00:00
Implemented proper error handling, now we can do user.save($conn)?; and it works.
In the future, maybe we can do the same with the `find_by_id` methods that return an Option.
This commit is contained in:
parent
172f1770cf
commit
6a99849a1e
22 changed files with 472 additions and 487 deletions
|
|
@ -42,7 +42,7 @@
|
|||
function updateVis() {
|
||||
setVis("#no-key-form", !key);
|
||||
setVis("#users-block", key);
|
||||
setVis("#invite-form", key);
|
||||
setVis("#invite-form-block", key);
|
||||
}
|
||||
|
||||
function setKey() {
|
||||
|
|
@ -166,7 +166,7 @@
|
|||
</small>
|
||||
</div>
|
||||
|
||||
<div id="invite-form" class="d-none align-items-center p-3 mb-3 text-white-50 bg-secondary rounded shadow">
|
||||
<div id="invite-form-block" class="d-none align-items-center p-3 mb-3 text-white-50 bg-secondary rounded shadow">
|
||||
<div>
|
||||
<h6 class="mb-0 text-white">Invite User</h6>
|
||||
<small>Email:</small>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue