mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-01 15:31:16 +00:00
* Added regsiter page and styles * Added style updates * Added login server connection and logout * Added login * Added social auth * Moved image assests * Added trasnlations * Added social icons * Removed duplicate * Updated shrinkwrap
30 lines
656 B
Vue
30 lines
656 B
Vue
<template lang="pug">
|
|
nav
|
|
a(href='/login') Login
|
|
a(href='/register') Register
|
|
</template>
|
|
|
|
|
|
<script>
|
|
export default {
|
|
methods: {
|
|
play () {
|
|
// @TODO:
|
|
// Auth play click
|
|
},
|
|
// passwordReset (email) {
|
|
// if(email == null || email.length == 0) {
|
|
// alert(window.env.t('invalidEmail'));
|
|
// } else {
|
|
// $http.post(ApiUrl.get() + '/api/v3/user/reset-password', {email:email})
|
|
// .success(function(){
|
|
// alert(window.env.t('newPassSent'));
|
|
// })
|
|
// .error(function(data){
|
|
// alert(data.err);
|
|
// });
|
|
// }
|
|
// },
|
|
},
|
|
};
|
|
</script>
|