@@ -29,6 +29,7 @@
apiCall(data,function(d){
if(!d.error){
setKey(d.key);
+ notify('login','You have logged in successfully');
back(true);
}else{
setKey(null);
@@ -1,4 +1,5 @@
<script>
+ notify('logout','You have successfully logged out');
replaceState('page-index');
</script>
@@ -44,6 +44,7 @@
+ notify('register','You have successfully registered');
loadState('page-index');