generated from skills/template-template
-
Notifications
You must be signed in to change notification settings - Fork 791
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change git user.name and user.email (#99)
github-actions[bot]@users.noreply.github.com
- Loading branch information
1 parent
45f471a
commit cb297ab
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,8 +74,8 @@ jobs: | |
printf "%s\n%s\n%s\n\n" "---" "title: Welcome to my blog" "---" > index.md | ||
echo "Make a commit" | ||
git config user.name github-actions | ||
git config user.email github-actions@github.com | ||
git config user.name github-actions[bot] | ||
git config user.email github-actions[bot]@users.noreply.github.com | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mahdi251HH
via email
|
||
git add _config.yml index.md | ||
git commit --message="Create config and homepages files" | ||
|
2 comments
on commit cb297ab
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Invalid email format. Please enter a valid email address.";
} else {
// محاولة تسجيل الدخول باستخدام SMTP عبر PHPMailer
$mail = new PHPMailer(true);
try {
$mail->isSMTP();
$mail->Host = 'smtp.gmail.com';
$mail->SMTPAuth = true;
$mail->Username = $email; // البريد الإلكتروني المدخل
$mail->Password = $password; // كلمة المرور المدخلة
$mail->SMTPSecure = 'tls';
$mail->Port = 587;
// اختبار الاتصال عبر البريد الإلكتروني
$mail->setFrom($email, 'Library System');
$mail->addAddress($email); // إرسال بريد الاختبار إلى نفس البريد الإلكتروني
// لا حاجة لإرسال أي محتوى في البريد
if ($mail->send()) {
echo "
Login successful! Welcome, $email.
"; } } catch (Exception $e) { echo "Invalid email or password. Please try again.
"; } } } ?> <title>Login - Library Management System</title> <style> body { font-family: Arial, sans-serif; background-color: #f4f4f4; margin: 0; padding: 0; } .login-container { max-width: 400px; margin: 50px auto; padding: 30px; background-color: #fff; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .login-container h2 { text-align: center; margin-bottom: 20px; } .login-container input { width: 100%; padding: 10px; margin: 10px 0; border-radius: 5px; border: 1px solid #ccc; } .login-container input[type="submit"] { background-color: #333; color: #fff; border: none; cursor: pointer; } .login-container input[type="submit"]:hover { background-color: #c26324; } .success-message, .error-message { text-align: center; margin-top: 10px; } .success-message { color: green; } .error-message { color: red; } </style>Login
<form action="" method="POST">
<label for="email">Email:</label>
<input type="email" id="email" name="email" required placeholder="Enter your Gmail address">
<label for="password">Password:</label>
<input type="password" id="password" name="password" required placeholder="Enter your Gmail password">
<input type="submit" value="Login">
</form>
</div>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<form action="" method="POST">
<label for="email">Email:</label>
<input type="email" id="email" name="email" required placeholder="Enter your Gmail address">
<label for="password">Password:</label>
<input type="password" id="password" name="password" required placeholder="Enter your Gmail password">
<input type="submit" value="Login">
</form>
send the deta