Browse Source

Code refactoring

Vova Tkach 6 years ago
parent
commit
3cae35acb3
1 changed files with 1 additions and 4 deletions
  1. 1 4
      engine/actions/action_signin.go

+ 1 - 4
engine/actions/action_signin.go

@@ -5,8 +5,5 @@ import (
 )
 
 func (this *Action) Action_signin() {
-	action := this.wrapper.R.FormValue("action")
-	this.write(fmt.Sprintf(`
-		ModalShowMsg('Login Action', 'Hello from web server (%s)');
-	`, action))
+	this.msg_success(`Hello from web server`)
 }