mirror of
https://github.com/naturalcrit/naturalcrit.git
synced 2025-10-27 07:29:54 +00:00
fixing the login issue
This commit is contained in:
parent
de9b29d214
commit
d93c347c4e
@ -149,7 +149,7 @@ const BadgeRender = createClass({
|
||||
<div>
|
||||
<button onClick={this.handleDownload}>
|
||||
<i className='fa fa-download' />
|
||||
Download
|
||||
Download PNG
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -38,7 +38,7 @@ const AccountActions = {
|
||||
},
|
||||
|
||||
createSession : (token) => {
|
||||
document.cookie = `nc_session=${token};expires=Thu, 18 Dec 2018 12:00:00 UTC; path=/;domain=${window.domain};`;
|
||||
document.cookie = `nc_session=${token};expires=Thu, 18 Dec 2036 12:00:00 UTC; path=/;domain=${window.domain};`;
|
||||
},
|
||||
|
||||
removeSession : () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user