codenzia/laravel-superadmin v0.7.1
“Protected super admin account for Laravel. Zero-config authorization via Gate::before, defense-in-depth Eloquent observer, optional Filamen…”
Calls PHP fwrite()HTML form declares the POST method
SHA-2565cc940f42d91c32472e495cc4c787b53adaf587cc0d7ac2a80b3daf8b9651cb2
MaleculeH₂(CmF)
Evidence
25:5… public function register(): void
26 {
27 $this->mergeConfigFrom(__DIR__.'/../config/superadmin.php', 'superadmin');
28
29 $this->app->singleton(SuperAdminManage …
67:45… ig `superadmin.recovery`).
68 * Registered on the `web` middleware group for sessions/CSRF. The path
69 * is configurable per app; the whole feature can be disabled.
70 …
171:75… .
172 if (PHP_SAPI === 'cli') {
173 fwrite(STDERR, ' ✗ Super admin auto-install failed: '.$e->getMessage().PHP_EOL);
174 }
175
176 return;
177 …
1@extends('superadmin::layout')
2
3@section('content')
4 <h1>{{ __('Set a new super admin password') }}</h1>
5 <p>{{ __('Choose a new password for the protected super admin account. The link you used is single-use.') }}</p>
6
7 <form method="POST" action="{{ route('superadmin.recovery.update') }}">
8 @csrf
9 <input type="hidden" name="token" value="{{ $token }}">
10
11 <label for="password">{{ __('Ne …
1@extends('superadmin::layout')
2
3@section('content')
4 <h1>{{ __('Super admin recovery') }}</h1>
5 <p>{{ __('Email a password reset link to the protected super admin account\'s own mailbox. Nothing is shown or changed on this page.') }}</p>
6
7 <form method="POST" action="{{ route('superadmin.recovery.send') }}">
8 @csrf
9 <button type="submit">{{ __('Email me a reset link') } …
No evidence locations were recorded for this file. Raw result