WIP new WebAdmin: two factor auth page
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
91802fad3e
commit
73b2573b14
4 changed files with 581 additions and 382 deletions
|
@ -494,7 +494,7 @@ func loadAdminTemplates(templatesPath string) {
|
|||
filepath.Join(templatesPath, templateAdminDir, templateIPList),
|
||||
}
|
||||
mfaPaths := []string{
|
||||
filepath.Join(templatesPath, templateCommonDir, templateCommonCSS),
|
||||
filepath.Join(templatesPath, templateCommonDir, templateCommonBase),
|
||||
filepath.Join(templatesPath, templateAdminDir, templateBase),
|
||||
filepath.Join(templatesPath, templateAdminDir, templateMFA),
|
||||
}
|
||||
|
|
|
@ -71,7 +71,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
|||
<div class="fs-4 text-gray-800">
|
||||
<span data-i18n="{{.Success}}"></span>
|
||||
{{- if .Text}}
|
||||
{{.Text}}
|
||||
<span> {{.Text}}</span>
|
||||
{{- end}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -600,7 +600,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
|||
}
|
||||
let postData = {
|
||||
protocols: protocolsArray
|
||||
}
|
||||
};
|
||||
if (full){
|
||||
postData.config_name = configName;
|
||||
postData.secret = {
|
||||
|
|
Loading…
Reference in a new issue