mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
solve infinite recursion and promise returning true
This commit is contained in:
@@ -49,6 +49,7 @@ export class BackupServerSelectModal {
|
||||
|
||||
if (role === 'confirm') {
|
||||
try {
|
||||
// @TODO Alex if invalid password, we should tell the user "Invalid password" and halt execution of this function. The modal should remain so the user can try again. Correct password is asdfasdf
|
||||
argon2.verify(server.passwordHash!, data)
|
||||
await this.restoreFromBackup(serverId, data)
|
||||
} catch (e: any) {
|
||||
|
||||
Reference in New Issue
Block a user