Basic user management
This commit is contained in:
@@ -25,6 +25,10 @@ const username = ref('')
|
||||
const password = ref('')
|
||||
|
||||
const csrfToken = document.querySelector('meta[name="csrf-token"]').getAttribute('content')
|
||||
|
||||
function resetPassword() {
|
||||
window.location.href = '/reset-password';
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -48,6 +52,7 @@ const csrfToken = document.querySelector('meta[name="csrf-token"]').getAttribute
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="submit" value="Anmelden" style="margin-top: 20px;" />
|
||||
<input type="button" @click="resetPassword" style="margin-top: 20px; margin-left: 20px;" value="Passwort vergessen" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user