Add social auth Github + login page

This commit is contained in:
2024-10-05 14:16:08 +02:00
parent d7f0d2a7f2
commit 63897fb7b0
14 changed files with 210 additions and 55 deletions
@@ -1,6 +1,6 @@
{% load i18n %}
<div class="card bg-warning mt-4 pt-2 ps-lg-2" v-if="ready">
<div class="card bg-warning mt-4 pt-2 ps-lg-2">
<h5 class="card-header">{% trans "K356 is locked" %}</h5>
<div class="card-body">
<h5 class="card-title">{% trans "K356 needs an unlock..." %}</h5>
@@ -8,7 +8,3 @@
<input class="form-control" type="password" v-model="password" @keyup.enter="generate_aes_key(password)" autofocus>
</div>
</div>
<div class="card bg-danger mt-4 pt-2 ps-lg-2 d-flex" v-else>
<h5 class="card-header flex-grow-1 flex-shrink-1 text-center">{% trans "Cannot load the application. Webcrypto must be enabled" %}</h5>
</div>
@@ -9,10 +9,6 @@ Loading = {
}
},
mounted: function() {
this.generate_aes_key("asd")
},
methods: {
async generate_aes_key (password) {