Skip to content

Commit c42e52b

Browse files
committed
fix otp page
1 parent f4bf9f9 commit c42e52b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

web-assets/js/otp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const autotab = (e, currentPosition, to) => {
9595

9696
const submit = () => {
9797
let formAction = qs["formAction"] || "#";
98-
const opt1 = 'https://auth.domain/continue';
98+
const opt1 = 'https://auth.{{DOMAIN}}/continue';
9999
const opt2 = 'https://{{AUTH0DOMAIN}}/continue';
100100
if (!formAction.startsWith(opt1) && !formAction.startsWith(opt2)) {
101101
// looks like XSS attack

web-assets/static-pages/otp.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<div class="left-column">
2222
<div class="signin-column">
2323
<div class="signin-header">
24-
<img class="topcoder-logo" src="./topcoderlogo-black.png">
24+
<img class="topcoder-logo" src="./images/topcoderlogo-black.png">
2525
<div class="header-text">Topcoder login</div>
2626
</div>
2727
<div class="info">Please check the email you used to register your

0 commit comments

Comments
 (0)