aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/auth.php
diff options
context:
space:
mode:
Diffstat (limited to 'routes/auth.php')
-rw-r--r--routes/auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/auth.php b/routes/auth.php
index d64331e..b03ee52 100644
--- a/routes/auth.php
+++ b/routes/auth.php
@@ -26,7 +26,7 @@ Router::getInstance()->mount('/auth/main', function (array $args) {
}
$instance->auth->secret = random_printable_bytes();
- $instance->auth->save();
+ $instance->save();
// TODO: schedule a job to throw away the secret after some time if it's not used?
$data = http_build_query([