mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-01 15:31:16 +00:00
31 lines
656 B
Vue
31 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>
|