|
@@ -9,16 +9,18 @@ import * as Parse from "parse"
|
|
})
|
|
})
|
|
export class RegisterPage implements OnInit {
|
|
export class RegisterPage implements OnInit {
|
|
|
|
|
|
- username:string | undefined
|
|
|
|
- email:string | undefined
|
|
|
|
- password:string | undefined
|
|
|
|
|
|
+
|
|
|
|
|
|
constructor(private router: Router) { }
|
|
constructor(private router: Router) { }
|
|
|
|
|
|
ngOnInit() {
|
|
ngOnInit() {
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+ username:string | undefined
|
|
|
|
+ email:string | undefined
|
|
|
|
+ password:string | undefined
|
|
currentUser:any
|
|
currentUser:any
|
|
|
|
+
|
|
async saveRegister(){
|
|
async saveRegister(){
|
|
// this.currentUser = Parse.User.current()
|
|
// this.currentUser = Parse.User.current()
|
|
if(!this.username){
|
|
if(!this.username){
|