Added login function

This commit is contained in:
2017-09-05 13:36:19 +07:00
parent 47d455063f
commit f8f4398007
5 changed files with 102 additions and 7 deletions

View File

@@ -17,14 +17,16 @@
<input type="password" name="password" value="" placeholder="Type your password">
<!-- method -->
<input type="hidden" name="_method" value="post">
<input type="hidden" name="_method" value="put">
<!-- Token -->
<input type="hidden" name="_token" value="##TOKEN##">
<input type="hidden" name="_token" value="{{ token }}">
<br>
<button type="submit" name="login">Login</button>
</form>
<a href="/">-> Alternative route</a>
</body>
</html>