@@ -4,7 +4,7 @@ discard block |
||
4 | 4 | $username = $_REQUEST['user']; |
5 | 5 | $password = $_REQUEST['pass']; |
6 | 6 | if (isset($_REQUEST['g-recaptcha-response'])) { |
7 | - GoogleExt\recaptcha::verifyCaptcha(function () use ($username, $password) { |
|
7 | + GoogleExt\recaptcha::verifyCaptcha(function() use ($username, $password) { |
|
8 | 8 | dologin($username, $password); |
9 | 9 | }); |
10 | 10 | } else { |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | } |
14 | 14 | |
15 | 15 | if (isset($_REQUEST['check'])) { |
16 | - user()->check_login(function ($session) { |
|
16 | + user()->check_login(function($session) { |
|
17 | 17 | e($session); |
18 | 18 | }); |
19 | 19 | } |
@@ -25,6 +25,6 @@ |
||
25 | 25 | |
26 | 26 | <div class="container"> |
27 | 27 | <form action="" method="post"> |
28 | - <div class="form-group"><textarea oninput='this.style.height = "";this.style.height = this.scrollHeight + "px"' id="body" name="desc" class="form-control"><?php echo isset($singlepost->content) ? $singlepost->content : ''; ?></textarea></div> |
|
28 | + <div class="form-group"><textarea oninput='this.style.height = "";this.style.height = this.scrollHeight + "px"' id="body" name="desc" class="form-control"><?php echo isset($singlepost->content) ? $singlepost->content : ''; ?></textarea></div> |
|
29 | 29 | </form> |
30 | 30 | </div> |
31 | 31 | \ No newline at end of file |