Skip to content

Commit 07e5f5c

Browse files
author
Sachin Maheshwari
committed
typo
1 parent 8517705 commit 07e5f5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-assets/js/signup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ $(document).ready(function () {
4949
let formAction = qs["formAction"];
5050
const opt1 = 'https://auth.{{DOMAIN}}/continue';
5151
const opt2 = 'https://{{AUTH0DOMAIN}}/continue';
52-
if (!formAction.startWith(opt1) && !formAction(opt2)) {
52+
if (!formAction.startsWith(opt1) && !formAction.startsWith(opt2)) {
5353
// looks like XSS attack
5454
formAction = "#";
5555
}

0 commit comments

Comments
 (0)