Skip to content

Commit 463c96c

Browse files
committed
fix: hyphenize_confirm_code bug
1 parent 38adb57 commit 463c96c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/src/helpers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ function is_valid_url ( url ) {
13821382
function hyphenize_confirm_code(email_confirm_code){
13831383
email_confirm_code = email_confirm_code.toString();
13841384
email_confirm_code =
1385-
[0] +
1385+
email_confirm_code[0] +
13861386
email_confirm_code[1] +
13871387
email_confirm_code[2] +
13881388
'-' +

0 commit comments

Comments
 (0)