public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[WebAuthn] fix reload
6788c528
data/web/templates/base.twig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Diff
diff --git a/data/web/templates/base.twig b/data/web/templates/base.twig
index a5e61ab3..d6f6d0b8 100644
--- a/data/web/templates/base.twig
+++ b/data/web/templates/base.twig
@@ -385,7 +385,7 @@ function recursiveBase64StrToArrayBuffer(obj) {
}).then(json => {
if (json.success) {
// reload on success
- window.location.href = window.location.href;
+ window.location = window.location.href.split("#")[0];
} else {
throw new Error(json.msg);
}