Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ Quick Demo Implementation for LoginRadius' Customer Registration Service and Soc
1. Open option.js
2. Fill in your LoginRadius API Key and Site Name respectively.
3. Everything should just start working

2 changes: 1 addition & 1 deletion email-verification.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ <h5>Email Verification page, it should alert you if succeed</h5>
LRObject.init("verifyEmail", verifyemail_options);
});
</script>
</html>
</html>
2 changes: 1 addition & 1 deletion forgot-password.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ <h3><a href="index.html">Home Page</a></h3>
LRObject.init("forgotPassword", forgotpassword_options);
});
</script>
</html>
</html>
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@

</body>
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
</html>
</html>
2 changes: 1 addition & 1 deletion login.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ <h3><a href="index.html">Home Page</a></h3>
LRObject.init("login",login_options);
})
</script>
</html>
</html>
7 changes: 3 additions & 4 deletions option.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@

var commonOptions = {};
commonOptions.apiKey = "<LoginRadius API Key>";
commonOptions.appName = "<LoginRadius Site Name>";
commonOptions.hashTemplate= true;
commonOptions.sott ="<Sott>";
commonOptions.hashTemplate = true;
commonOptions.sott = "<Sott>";
var path = window.location.href;
commonOptions.verificationUrl = path.replace(path.substr(path.lastIndexOf('/')), "/email-verification.html");
commonOptions.resetPasswordUrl = path.replace(path.substr(path.lastIndexOf('/')), "/reset-password.html");
var LRObject= new LoginRadiusV2(commonOptions);
var LRObject = new LoginRadiusV2(commonOptions);
2 changes: 1 addition & 1 deletion registration.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ <h3><a href="index.html">Home Page</a></h3>


</script>
</html>
</html>
2 changes: 1 addition & 1 deletion reset-password.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ <h3><a href="index.html">Home Page</a></h3>
LRObject.init("resetPassword", resetpassword_options);
});
</script>
</html>
</html>
2 changes: 0 additions & 2 deletions social.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


<!DOCTYPE html>
<html>
<head>
Expand Down