Skip to content

Commit 7670a4d

Browse files
author
Hans Kristian Flaatten
committed
fix(profile): use 303 redirect instead of 403
1 parent f2610d6 commit 7670a4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/profile/controller.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ app.post('/link', (req, res, next) => {
4848

4949
res.set('x-app-status', 'failure');
5050
res.set('x-app-message', 'link_forbidden');
51-
res.redirect(403, '/profile');
51+
res.redirect(303, '/profile');
5252

5353
return;
5454
}

0 commit comments

Comments
 (0)