Kaydet (Commit) 84f353cb authored tarafından mertcelen's avatar mertcelen

Fix for #257

üst 25377de9
......@@ -23,7 +23,7 @@ class ConnectorToken extends Model
public static function set($token,$server_id)
{
if($token == null){
abort(503,"Lütfen kasa üzerinden yeni bir anahtar ekleyin.");
abort(504,"Lütfen kasa üzerinden yeni bir anahtar ekleyin.");
}
//Delete Old Ones
ConnectorToken::where([
......
......@@ -29,7 +29,7 @@ class TunnelToken extends Model
public static function set($token, $local_port, $remote_host, $remote_port)
{
if($token == null){
abort(503, "Tünel açılırken bir hata oluştu.");
abort(504, "Tünel açılırken bir hata oluştu.");
}
//Delete Old Ones
TunnelToken::where([
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment