Kaydet (Commit) 34782307 authored tarafından Mert ÇELEN's avatar Mert ÇELEN

liman.app email changed to liman.dev

üst 77f960a0
......@@ -14,7 +14,7 @@ class AddSupportToExtensions extends Migration
public function up()
{
Schema::table('extensions', function (Blueprint $table) {
$table->string('support')->default('administrator@liman.app');
$table->string('support')->default('administrator@liman.dev');
});
}
......
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
@if(auth()->check() && user()->email == "administrator@liman.app")
@if(auth()->check() && user()->email == "administrator@liman.dev")
<div class="alert alert-danger customAlert">
<b>{{__("Tam yetkili yönetici hesabı ile giriş yaptınız, sisteme zarar verebilirsiniz.")}}</b>
</div>
......
......@@ -20,7 +20,7 @@ Artisan::command('administrator', function () {
);
$user = User::where([
"name" => "Administrator",
"email" => "administrator@liman.app",
"email" => "administrator@liman.dev",
])->first();
if ($user) {
$user->update([
......@@ -30,7 +30,7 @@ Artisan::command('administrator', function () {
$user = new User();
$user->fill([
"name" => "Administrator",
"email" => "administrator@liman.app",
"email" => "administrator@liman.dev",
"password" => Hash::make($password),
"status" => 1,
]);
......@@ -38,7 +38,7 @@ Artisan::command('administrator', function () {
$user->save();
$this->comment("Liman MYS Administrator Kullanıcısı");
$this->comment("Email : administrator@liman.app");
$this->comment("Email : administrator@liman.dev");
$this->comment("Parola : " . $password . "");
})->describe('Create administrator account to use');
......@@ -99,7 +99,7 @@ Artisan::command('module:add {module_name}', function ($module_name) {
return $this->error("Modul klasoru bulunamadi!");
}
if(Module::where(["name" => $module_name])->exists()){
if (Module::where(["name" => $module_name])->exists()) {
return $this->error("Boyle bir modul zaten var!");
}
$module = Module::create(["name" => $module_name, "enabled" => true]);
......
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