* Added placeholder text to site when loading JS
* Added hidden text to site for scraping * Login token will be destroyed if fetch site totals is called and the token is bad * Moved passwords out of application and into a .env file that is loaded on startup * Changed prod database password for primary user (which is dev) * Set up .env for dev and prod
This commit is contained in:
@@ -133,6 +133,10 @@ export default new Vuex.Store({
|
||||
.then( ({data}) => {
|
||||
commit('setUserTotals', data)
|
||||
})
|
||||
.catch( error => {
|
||||
commit('destroyLoginToken')
|
||||
location.reload()
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
Reference in New Issue
Block a user