aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources/views
diff options
context:
space:
mode:
authorMarvin Borner2018-07-07 16:13:20 +0200
committerMarvin Borner2018-07-07 16:13:20 +0200
commit84e758a59cea20508bad93a129acbad5d4474c5d (patch)
tree5e73aa7aa903e4e68ef40c681004bdc3bd979ae0 /resources/views
parent82fa40442ad56f7de3cb6984bfb187e429476c76 (diff)
Added public/private key generation & insertion
Diffstat (limited to 'resources/views')
-rw-r--r--resources/views/auth/login.blade.php4
-rw-r--r--resources/views/auth/register.blade.php6
2 files changed, 7 insertions, 3 deletions
diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php
index 9fd12a7..119cfe1 100644
--- a/resources/views/auth/login.blade.php
+++ b/resources/views/auth/login.blade.php
@@ -1,6 +1,8 @@
@extends('layouts.app')
@section('content')
+<script src="{{ asset('js/initial_key_gen.js') }}" defer></script>
+
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
@@ -8,7 +10,7 @@
<div class="card-header">{{ __('Login') }}</div>
<div class="card-body">
- <form method="POST" action="{{ route('login') }}" aria-label="{{ __('Login') }}">
+ <form keygen method="POST" action="{{ route('login') }}" aria-label="{{ __('Login') }}">
@csrf
<div class="form-group row">
diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php
index f9dd662..150046d 100644
--- a/resources/views/auth/register.blade.php
+++ b/resources/views/auth/register.blade.php
@@ -1,6 +1,8 @@
@extends('layouts.app')
@section('content')
+<script src="{{ asset('js/initial_key_gen.js') }}" defer></script>
+
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
@@ -8,7 +10,7 @@
<div class="card-header">{{ __('Register') }}</div>
<div class="card-body">
- <form method="POST" action="{{ route('register') }}" aria-label="{{ __('Register') }}">
+ <form keygen method="POST" action="{{ route('register') }}" aria-label="{{ __('Register') }}">
@csrf
<div class="form-group row">
@@ -63,7 +65,7 @@
<div class="form-group row mb-0">
<div class="col-md-6 offset-md-4">
- <button type="submit" class="btn btn-primary">
+ <button disabled type="submit" class="btn btn-primary">
{{ __('Register') }}
</button>
</div>