Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
c3bca6bd
"app/Http/vscode:/vscode.git/clone" did not exist on "c3bca6bd046c5dcfd61ab1aab684b4598f2cc9fc"
Commit
c3bca6bd
authored
Jun 09, 2022
by
unknown
Browse files
correção ao editar coordenador(email ja existia)
parent
15cbdf59
Changes
1
Show whitespace changes
Inline
Side-by-side
app/Http/Controllers/AdministradorController.php
View file @
c3bca6bd
...
...
@@ -393,7 +393,7 @@ class AdministradorController extends Controller
$validated
=
$request
->
validate
([
'name'
=>
[
'required'
,
'string'
,
'max:255'
],
'tipo'
=>
[
'required'
],
'email'
=>
[
'required'
,
'string'
,
'email'
,
'max:255'
,
'unique:users'
],
'email'
=>
[
'required'
,
'string'
,
'email'
,
'max:255'
],
'instituicao'
=>
[
'required_if:instituicaoSelect,Outra'
,
'max:255'
],
'instituicaoSelect'
=>
[
'required_without:instituicao'
],
'celular'
=>
(
$request
[
'celular'
]
!=
null
?
'required|string|telefone'
:
'nullable'
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment