mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 07:19:20 +01:00
feat(auth): qr code width in user form
This commit is contained in:
parent
0d846198f1
commit
c86e53eda6
@ -55,6 +55,7 @@
|
||||
:title="$t('editUser')"
|
||||
v-if="user"
|
||||
event-name="i-user"
|
||||
:hide-buttons="hideUserDialogButtons"
|
||||
>
|
||||
<template v-slot:form="{ onSave, onError, needSave, needReset }">
|
||||
<UserForm
|
||||
@ -65,6 +66,8 @@
|
||||
:need-save="needSave"
|
||||
:need-reset="needReset"
|
||||
:is-admin="user.admin"
|
||||
@hide-action-buttons="hideUserDialogButtons = true"
|
||||
@show-action-buttons="hideUserDialogButtons = false"
|
||||
/>
|
||||
</template>
|
||||
</EditDialog>
|
||||
@ -835,6 +838,7 @@ export default {
|
||||
newProjectDialog: null,
|
||||
newProjectType: '',
|
||||
userDialog: null,
|
||||
hideUserDialogButtons: false,
|
||||
passwordDialog: null,
|
||||
restoreProjectDialog: null,
|
||||
restoreProjectResult: null,
|
||||
|
@ -85,13 +85,12 @@
|
||||
<img
|
||||
v-if="totpQrUrl"
|
||||
:src="totpQrUrl"
|
||||
width="276"
|
||||
height="276"
|
||||
style="
|
||||
width: 100%;
|
||||
aspect-ratio: 1;
|
||||
border-radius: 10px;
|
||||
border-radius: 4px;
|
||||
display: block;
|
||||
margin: 0 auto 20px auto;
|
||||
margin: 0 auto 10px auto;
|
||||
border: 10px solid white;
|
||||
background-color: white;
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user