uccello/impersonate

An Uccello tool to allow an admin to impersonate a user.

v1.0.0 2021-02-09 15:40 UTC

This package is auto-updated.

Last update: 2024-04-09 23:50:59 UTC


README

composer require uccello/impersonate

Add Blade sections

Add button in User detail view

Create a file located at resources/views/uccello/modules/user/detail/main.blade.php and add the following code:

@extends('uccello::modules.default.detail.main')

@section('custom-top-action-buttons')
    @include('impersonate::button')
@append

Add message bar

Add the following code into the file located at resources/layouts/uccello.blade.php:

@section('after-navbar-header')
    @include('impersonate::message')
@append