summaryrefslogtreecommitdiff
path: root/lib/VNWeb/User/Login.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VNWeb/User/Login.pm')
-rw-r--r--lib/VNWeb/User/Login.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNWeb/User/Login.pm b/lib/VNWeb/User/Login.pm
index 7c93e058..d1069b26 100644
--- a/lib/VNWeb/User/Login.pm
+++ b/lib/VNWeb/User/Login.pm
@@ -15,7 +15,7 @@ TUWF::get '/u/login' => sub {
};
-json_api '/u/login', {
+json_api qr{/u/login\.json}, {
username => { username => 1 },
password => { password => 1 }
}, sub {
@@ -41,7 +41,7 @@ json_api '/u/login', {
};
-json_api '/u/changepass', {
+json_api qr{/u/changepass\.json}, {
username => { username => 1 },
oldpass => { password => 1 },
newpass => { password => 1 },