Remove unused code lines
This commit is contained in:
parent
030a0cd698
commit
f08995c390
|
@ -27,9 +27,6 @@
|
|||
<script type="text/javascript">
|
||||
var authResult = <%=@auth_result.to_client_hash.to_json.html_safe%>;
|
||||
|
||||
// On facebook browser, just redirect and don't close
|
||||
var ua = navigator.userAgent || navigator.vendor || window.opera;
|
||||
|
||||
if (!window.opener) {
|
||||
localStorage.setItem('lastAuthResult', JSON.stringify(authResult));
|
||||
window.location.href = '<%= Discourse.base_url.html_safe %>?authComplete=true';
|
||||
|
|
Loading…
Reference in New Issue