Hazehim.com login id password

Discussion of things related to piracy on the PS Vita

2016.08.19 05:13 AssuredlyAThrowAway Discussion of things related to piracy on the PS Vita

All references to piracy in this subreddit should be translated to "game backups".
[link]


2017.01.21 02:09 jeep00wj What makes our cars tick

Automotive learning is a place for new and seasoned gearheads to come together to share stories and learn from one another.
[link]


2018.01.11 10:51 TimeNomadAstro Time Nomad

Time Nomad is an astrology app for iPhone/iPad. Always in your pocket, no need for a PC or login. A great tool for anybody practicing astrology, from beginner to professional astrologer. Easily scroll through time and understand the motion of celestial bodies and astrological/astronomical phenomena like aspects, transits, phases, etc. Being a dynamic real-time tool, Time Nomad sends notifications about important astrological events — both for world events and user-specific information.
[link]


2024.05.21 21:15 Timely-Sun7973 Need Help: creating a pipeline using airflow dag

Hey I'm kinda new to IT field but I really wanna learn this. so I'll really appreciate if any one can provide me a sample code or fix the below code format (basically i use gpt, just to understand it better)
  1. Our website has a homepage where visitors can either sign up or request a demo. When a client signs up or requests a demo, it triggers two separate DAGs (Directed Acyclic Graphs). The first DAG sends an email to the sales team, notifying them about the new lead generated, and another email to the client, welcoming them to the platform. The second DAG stores the client's information in the `lead_generated` collection.
  2. After the lead generation DAG is completed, another DAG is triggered periodically (e.g., daily). This DAG retrieves the current client information (name, email, and phone number) from the `lead_generated` collection and sends a reminder email to the sales team. The email contains the client details so that the sales team can follow up with them manually via phone calls. Once the reminder email is sent, all the clients' information is removed from the `lead_generated` collection and stored in the `negotiation` collection, with the initial `negotiated` field set to `'waiting'` or `0`.
  3. During the phone call negotiations with the clients, the sales team marks the negotiation status as `'success'` or `1` if the negotiation is successful, or `'reject'` or `-1` if the negotiation is unsuccessful. An independent DAG is triggered every few minutes to check the `negotiated` field for each entry in the `negotiation` collection. If the `negotiated` field is `0` (or `'waiting'`), the DAG skips that entry. If the `negotiated` field is `1` (or `'success'`), the DAG stores that entry's information in the `negotiated` collection. If the `negotiated` field is `-1` (or `'reject'`), the DAG stores that entry's information in the `rejected` collection.
  4. In the `negotiated` collection, each client's entry will have a `package` field (e.g., `p1`, `p2`, `p3`, or `p4`). Based on the package information, another DAG is triggered to initiate the payment process with Razorpay.
  5. Once the payment is successful, a DAG is triggered to onboard the client based on their chosen package. The client's information is then stored in the `lead_closed` collection and removed from the `negotiated` collection.

# Import necessary libraries from airflow import DAG from airflow.operators.python_operator import PythonOperator from airflow.operators.email_operator import EmailOperator from datetime import datetime, timedelta import smtplib import pymongo # MongoDB connection details MONGO_URI = "mongodb://username:password@host:port/database" # SMTP server details SMTP_HOST = "smtp.example.com" SMTP_PORT = 587 SMTP_USERNAME = "your_email@example.com" SMTP_PASSWORD = "your_email_password" # Default arguments for DAGs default_args = { 'owner': 'your_name', 'depends_on_past': False, 'email_on_failure': True, 'email_on_retry': True, 'retries': 3, 'retry_delay': timedelta(minutes=5) } # Function to send email def send_email(to_emails, subject, body): try: server = smtplib.SMTP(SMTP_HOST, SMTP_PORT) server.starttls() server.login(SMTP_USERNAME, SMTP_PASSWORD) message = f"Subject: {subject}\n\n{body}" server.sendmail(SMTP_USERNAME, to_emails, message) server.quit() print(f"Email sent successfully to {to_emails}") except Exception as e: print(f"Failed to send email: {e}") # Lead Generation DAG with DAG( 'lead_generation_dag', default_args=default_args, description='DAG to handle lead generation and store client information', schedule_interval=None, # This DAG will be triggered externally start_date=datetime(2023, 5, 22) ) as lead_generation_dag: def store_lead_info(**kwargs): client_info = kwargs['dag_run'].conf mongo_client = pymongo.MongoClient(MONGO_URI) db = mongo_client["your_database"] lead_generated_collection = db["lead_generated"] lead_generated_collection.insert_one(client_info) mongo_client.close() store_lead_task = PythonOperator( task_id='store_lead_info', python_callable=store_lead_info ) sales_team_emails = ["sales1@example.com", "sales2@example.com"] client_email = "{{ dag_run.conf.get('email') }}" send_sales_email_task = EmailOperator( task_id='send_sales_email', to=sales_team_emails, subject='New Lead Generated', html_content='A new lead has been generated. Please follow up.' ) send_client_email_task = EmailOperator( task_id='send_client_email', to=client_email, subject='Welcome to Our Platform', html_content='Thank you for signing up! Our sales team will contact you shortly.' ) store_lead_task >> [send_sales_email_task, send_client_email_task] # Lead Reminder DAG with DAG( 'lead_reminder_dag', default_args=default_args, description='DAG to send reminders to the sales team about existing leads', schedule_interval='0 9 * * *', # Run daily at 9 AM start_date=datetime(2023, 5, 22) ) as lead_reminder_dag: def send_lead_reminder(**kwargs): mongo_client = pymongo.MongoClient(MONGO_URI) db = mongo_client["your_database"] lead_generated_collection = db["lead_generated"] negotiation_collection = db["negotiation"] leads = list(lead_generated_collection.find({}, {"name": 1, "email": 1, "phone": 1})) lead_generated_collection.delete_many({}) for lead in leads: negotiation_collection.insert_one({"name": lead["name"], "email": lead["email"], "phone": lead["phone"], "negotiated": "waiting"}) if leads: lead_info = "\n".join([f"Name: {lead['name']}, Email: {lead['email']}, Phone: {lead['phone']}" for lead in leads]) subject = "Reminder: Follow up with Existing Leads" body = f"Please follow up with the following leads:\n\n{lead_info}" send_email(sales_team_emails, subject, body) else: print("No new leads found.") mongo_client.close() send_lead_reminder_task = PythonOperator( task_id='send_lead_reminder', python_callable=send_lead_reminder ) # Negotiation Status DAG with DAG( 'negotiation_status_dag', default_args=default_args, description='DAG to check and update negotiation status', schedule_interval='*/15 * * * *', # Run every 15 minutes start_date=datetime(2023, 5, 22) ) as negotiation_status_dag: def update_negotiation_status(**kwargs): mongo_client = pymongo.MongoClient(MONGO_URI) db = mongo_client["your_database"] negotiation_collection = db["negotiation"] negotiated_collection = db["negotiated"] rejected_collection = db["rejected"] for lead in negotiation_collection.find(): if lead["negotiated"] == "success": negotiated_collection.insert_one(lead) negotiation_collection.delete_one({"_id": lead["_id"]}) elif lead["negotiated"] == "reject": rejected_collection.insert_one(lead) negotiation_collection.delete_one({"_id": lead["_id"]}) mongo_client.close() update_negotiation_status_task = PythonOperator( task_id='update_negotiation_status', python_callable=update_negotiation_status ) # Payment Processing DAG with DAG( 'payment_processing_dag', default_args=default_args, description='DAG to initiate payment processing', schedule_interval=None, # This DAG will be triggered externally start_date=datetime(2023, 5, 22) ) as payment_processing_dag: def process_payment(**kwargs): client_info = kwargs['dag_run'].conf package = client_info['package'] # Initiate payment process with Razorpay based on the package payment_successful = razorpay_payment_process(package) if payment_successful: mongo_client = pymongo.MongoClient(MONGO_URI) db = mongo_client["your_database"] negotiated_collection = db["negotiated"] lead_closed_collection = db["lead_closed"] negotiated_collection.delete_one({"_id": client_info["_id"]}) lead_closed_collection.insert_one(client_info) mongo_client.close() process_payment_task = PythonOperator( task_id='process_payment', python_callable=process_payment ) # Onboarding DAG with DAG( 'onboarding_dag', default_args=default_args, description='DAG to initiate the onboarding process', schedule_interval=None, # This DAG will be triggered externally start_date=datetime(2023, 5, 22) ) as onboarding_dag: def onboard_client(**kwargs): client_info = kwargs['dag_run'].conf # Perform onboarding tasks based on the package information onboard_client_process(client_info) onboard_client_task = PythonOperator( task_id='onboard_client', python_callable=onboard_client ) 
submitted by Timely-Sun7973 to apache_airflow [link] [comments]


2024.05.21 20:52 Liberatordude02 Mac mini apple Id is asking for a "passcode" for (device name) when attempting to reset apple ID.

I was under the impression that a "passcode" is either a lock screen code on a phone or is an MFA OTP code. However, neither of these apply here. User of a mac mini needs to reset his apple id since he does not remember the password to the account. We click "forgot password" and enter the phone number and OTP from that phone. After this it asks for the device's passcode. I tried the local admin and the domain admin accounts (this mac is domain joined to a windows network) but neither works for this "passcode". I asked other mac users what they thought it meant and they said they thought it meant the normal login credentials. Any help would be appreciated.
This is an M1 silicon Mac mini with Sonoma. Also, I had just had this mac and another one update to the latest Sonoma version. To do this, it required the local admin account to approve even though these users are local admins using a mobile domain windows account. It also would not take my domain credentials to do this update, only the local admin. Not sure if that is relevant.
submitted by Liberatordude02 to MacOS [link] [comments]


2024.05.21 19:05 Fireheart251 Windows 10 Home is asking for a Bitlocker recovery key

Hp envy x360 laptop.
Well last night I think I checked my Pc Health Manager app or whatever it's called and saw there was a pending update to the system bios. I clicked on it so it would update, but it didn't do it immediately and I didn't know why (maybe i had to restart the computer?) Either way, I ignore it and later fall asleep. I wake up this morning, turn my laptop on, and there's a screen saying it's updating and verifying the bios files, I'm like, ok, and wait for it to finish. I thought this was because of me choosing to update the system bios yesterday. But after the update it just went to a screen asking for a Bitlocker recovery key. Now I have no idea what to do. As stated this is Windows 10 Home, but the screen clearly says Bitlocker recovery key. This is an Hp envy x360. I didn't remember being prompted for somewhere to save any key. I didn't have a Microsoft account until literally a few days ago when I had to make one for an online class I'm taking. There is no key saved in my microsoft account. I've never logged into a microsoft account on this windows pc. I don't use Office, I prefer Google.
Updating the system bios is the only thing I remember doing yesterday that could have something to do with it. I just thought it was a normal update, like a windows update, never expected to be locked out of my pc... And as I said I'm supposed to be taking an online course right now, I absolutely need my laptop and can't afford a new one. It is much too difficult to try to do my classwork from my phone.
I've googled so much and people keep saying windows 10 home doesn't have bitlocker, yet it's apparently a "well known problem" (which one forum member stated) that Dell and HP laptops will install it automatically, even on windows Home? I have no idea what to do. I can't disable bitlocker with command prompt, system restore is saying i have no backups likely because it cant access the C: since it's locked. Does anybody have ANY last tips or tricks at all before I have to suck it up and just delete all my data and reinstall windows (which i dont even know how to do)?
There is one thing though. During a brief stint in college I was given a school ID to be used to login to Outlook. I wonder if a recovery key could be associated with that email address but i dont go to that school anymore and school accounts and passwords expire after a certain amount of time. Trying to use it on live.com says the email account doesn't exist.
Edit: another thing I remember doing. I said i dont really have a MS account but actually I had one through my school with a .edu address from a few years ago. I was looking at my laptop settings and noticed that somehow my school email was still there under "work or school accounts" and the description says connecting the email will give my school access over certain settings? Idk if that's significant or not. But I haven't been to that school in 4 years.
submitted by Fireheart251 to techsupport [link] [comments]


2024.05.21 19:03 Fireheart251 Windows 10 Home is asking for Bitlocker recovery key

Hp Envy x360 laptop.
Well last night I think I checked my Pc Health Manager app or whatever it's called and saw there was a pending update to the system bios. I clicked on it so it would update, but it didn't do it immediately and I didn't know why (maybe i had to restart the computer?) Either way, I ignore it and later fall asleep. I wake up this morning, turn my laptop on, and there's a screen saying it's updating and verifying the bios files, I'm like, ok, and wait for it to finish. I thought this was because of me choosing to update the system bios yesterday. But after the update it just went to a screen asking for a Bitlocker recovery key. Now I have no idea what to do. As stated this is Windows 10 Home, but the screen clearly says Bitlocker recovery key. This is an Hp envy x360. I didn't remember being prompted for somewhere to save any key. I didn't have a Microsoft account until literally a few days ago when I had to make one for an online class I'm taking. There is no key saved in my microsoft account. I've never logged into a microsoft account on this windows pc. I don't use Office, I prefer Google.
Updating the system bios is the only thing I remember doing yesterday that could have something to do with it. I just thought it was a normal update, like a windows update, never expected to be locked out of my pc... And as I said I'm supposed to be taking an online course right now, I absolutely need my laptop and can't afford a new one. It is much too difficult to try to do my classwork from my phone.
I've googled so much and people keep saying windows 10 home doesn't have bitlocker, yet it's apparently a "well known problem" (which one forum member stated) that Dell and HP laptops will install it automatically, even on windows Home? I have no idea what to do. I can't disable bitlocker with command prompt, system restore is saying i have no backups likely because it cant access the C: since it's locked. Does anybody have ANY last tips or tricks at all before I have to suck it up and just delete all my data and reinstall windows (which i dont even know how to do)?
There is one thing though. During a brief stint in college I was given a school ID to be used to login to Outlook. I wonder if a recovery key could be associated with that email address but i dont go to that school anymore and school accounts and passwords expire after a certain amount of time. Trying to use it on live.com says the email account doesn't exist.
Edit: another thing I remember doing. I said i dont really have a MS account but actually I had one through my school with a .edu address from a few years ago. I was looking at my laptop settings and noticed that somehow my school email was still there under "work or school accounts" and the description says connecting the email will give my school access over certain settings? Idk if that's significant or not. But I haven't been to that school in 4 years.
submitted by Fireheart251 to WindowsHelp [link] [comments]


2024.05.21 17:52 RandomStupidReddit Sideloadly Apple ID Error

First time sideloadly user here, i am trying to side load an IPA file onto my phone from my macbook pro and i keep getting this error saying that my apple id or password is incorrect: Install failed: Guru Meditation Login failed (-22406): Your Apple ID or password is incorrect.
I looked at some old posts but all the fixes i found are for either windows or they use Itunes which is unavailable on macs now, does anybody know a fix?
submitted by RandomStupidReddit to sideloaded [link] [comments]


2024.05.21 17:17 Leebrfc2 Popup Scammers

https://preview.redd.it/vl5gbt3hrs1d1.png?width=1276&format=png&auto=webp&s=785577ad45cc636883e38e568451cfbfa76441d5
Number: 8669913531
Link on this page: URL Scan
submitted by Leebrfc2 to ScamNumbers [link] [comments]


2024.05.21 15:30 sberbec Unable to Verify Account

Hello! I've come across a few posts here detailing a similar scenario and I'm posting mine on the off chance (and out of desperation) that someone now has a solution or success story:
I have been using the Adobe suite for at least 16 years — I bought CS4 as a disc when it came out in 2008. For the past few years, I've been fortunate to have an Enterprise account through my membership with a local organization.
I use these programs daily for my work. I am still logged in on my desktop Creative Cloud account, as well as on my Chrome + Safari browsers. I haven't changed my password, and it is saved on all devices.
I recently got a new iPhone and transferred all data over. Two days ago, I opened Lightroom mobile and was prompted to login — typical of having a new phone. Turns out, I have 2FA enabled and noticed an old phone number listed. I have two verified emails with my Adobe account so I selected this option, received the code, pasted it, and it was accepted. Then it makes me choose another way to verify. Since the phone number is deactivated, I select the Adobe Account Access app. When I reached the app, I received a message that "Adobe reset my password" and I'd need to make a new one to continue.
And this becomes my endless loop: while I had access to two verified emails and the authenticator app, now I don't because adobe reset my password. And there is an old phone number associated with the account.
As many of you have detailed: according to Adobe, despite 16+ years with my account, the only solution is to make a new account. This seems so bizarre to me that there aren't other ways to verify, or that a specialist is unable to access my account to either change the phone number or reset the password for me.
Again, I'm still logged in on the desktop Creative Cloud and the browsers. I can see all my account info, and even click buttons to either "remove phone number" or "change phone number" or "change password" but I'm then prompted to login again and can't move forward. And since I use these programs daily for work, I'm scared to logout.
One Enterprise specialist I spoke to yesterday suggested that I do a conference call with an enterprise support agent, myself, and the IT or admin of the Enterprise account of the organization that I'm part of. I'm not sure why this would have been suggested right after telling me it's not possible to access my account and I should make a new one. I know that admins of Enterprise accounts can choose to enable/disable 2FA for everyone, but I don't know that that would help or even be applicable to my issue. Another question: by chance would the Enterprise admin have access to the phone number associated with my account and change this detail on their end? I certainly did not give them this number as it had long been deactivated before I joined the Enterprise account, but perhaps it still shows up? I also don't want to waste their time doing a conference call if there is nothing they can do to help.
In sum: it is mind blowing to me that I didn't have any prior issues accessing my account, despite the old phone number, because my password is saved, I have two verified emails, and had access to the Adobe Account Access app. But because ADOBE reset my password, and I can only receive verification emails, I now have to make a new account?! There has to be another way!
Thanks in advance for any advice!
submitted by sberbec to Adobe [link] [comments]


2024.05.21 15:28 Amalroblox2011 my account got hacked and request rejected twice (got rejection mail right now)

Hello pubg mobile support my uid is 5567160064 my account was maliciously linked and hacked so the hacker logged in my facebook changed the mail removed all my friends from my friend list and captured my account! i changed my password and everything a week later when i wanted to login back to my account it was asking for 2fa which is not even my mobile number or mail! i have all the proof needed i bought the batlepass back in season 14 which was so nice my first time i was s15 ace player i will be attaching all the documents and mails ive received my original mail was [armanjaved299@gmail.com](mailto:armanjaved299@gmail.com) and i would like to change it to [fortn4427@gmail.com](mailto:fortn4427@gmail.com) my facebook linked in Arman Javed my apple id was also linked but the hacker removed it but he didnt remove my facebook thank god this is my only hope left to see my account. My first username ever was ArmanTheSavage changed it a lot of times such as some special character with savage and vip savage and a lot and my last one before it got hacked was CASTR6 ive played all my life in middle east region cause i reside in the uae the most ive played is with a ipad 7th gen and then i started playing with a ipad pro until mid august where i stopped i started recieving suspicious mails in september which i will be attaching and please look at them. this account means a lot to me as im a very loyal player and such dedicated spent good money and a lot of time invested completing the royal passes and keeping such a good rank in squads the most map ive played is livik.I will detach all the proof and the mails on the google drive link below i used to flim tiktoks with my account and still have videos while ill be putting in the google drive i have privated messaged u u/Errora403 i believe this should be enough proof to recover my beloved account i have worked hard and grinded this a lot. this subreddit is my last hope to ever play on my dear account again please do check the google drive link ive sent u in private message.
submitted by Amalroblox2011 to PUBGM_Support [link] [comments]


2024.05.21 12:45 ChubbyLeggz Switch

Switch submitted by ChubbyLeggz to u/ChubbyLeggz [link] [comments]


2024.05.21 05:11 HungryBar3834 what causes Integrity Error im using SQLite

// this is my models.py code from django.contrib.auth.hashers import make_password from django.contrib.auth.models import AbstractBaseUser, PermissionsMixin, BaseUserManager from django.db import models from django.utils import timezone class UserManager(BaseUserManager): def create_user(self, username, password=None, **extra_fields): if not username: raise ValueError('The Username field must be set') user = self.model(username=username, **extra_fields) user.set_password(password) user.save(using=self._db) return user def create_superuser(self, username, password=None, **extra_fields): extra_fields.setdefault('is_staff', True) extra_fields.setdefault('is_superuser', True) return self.create_user(username, password, **extra_fields) class User(AbstractBaseUser, PermissionsMixin): id = models.AutoField(primary_key=True) areacode = models.CharField(max_length=10, null=True, default="") phone_number = models.CharField(max_length=20, null=False, default="") created_at = models.DateTimeField(default=timezone.now) updated_at = models.DateTimeField(auto_now=True) username = models.CharField(max_length=150, unique=True) password = models.CharField(max_length=128) objects = UserManager() USERNAME_FIELD = 'username' REQUIRED_FIELDS = [] last_login = models.DateTimeField(default=timezone.now) def set_password(self, raw_password): self.password = make_password(raw_password) self.save() class Meta: verbose_name = 'user' verbose_name_plural = 'users' # Define related_name for groups and user_permissions User._meta.get_field('groups').related_name = 'custom_user_groups' User._meta.get_field('user_permissions').related_name = 'custom_user_permissions' Internal Server Error: /registe Traceback (most recent call last): File "C:\Users\batkh\OneDrive\Documents\Django-Project\.venv\Lib\site-packages\django\db\models\query.py", line 948, in get_or_create return self.get(**kwargs), False ^^^^^^^^^^^^^^^^^^ File "C:\Users\batkh\OneDrive\Documents\Django-Project\.venv\Lib\site-packages\django\db\models\query.py", line 649, in get raise self.model.DoesNotExist( rest_framework.authtoken.models.Token.DoesNotExist: Token matching query does not exist. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\batkh\OneDrive\Documents\Django-Project\.venv\Lib\site-packages\django\db\backends\base\base.py", line 299, in _commit return self.connection.commit() ^^^^^^^^^^^^^^^^^^^^^^^^ sqlite3.IntegrityError: FOREIGN KEY constraint failed The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\batkh\OneDrive\Documents\Django-Project\.venv\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\batkh\OneDrive\Documents\Django-Project\.venv\Lib\site-packages\django\core\handlers\base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\batkh\OneDrive\Documents\Django-Project\.venv\Lib\site-packages\django\views\decorators\csrf.py", line 65, in _view_wrapper return view_func(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\batkh\OneDrive\Documents\Django-Project\.venv\Lib\site-packages\django\views\generic\base.py", line 104, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\batkh\OneDrive\Documents\Django-Project\.venv\Lib\site-packages\rest_framework\views.py", line 509, in dispatch response = self.handle_exception(exc) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\batkh\OneDrive\Documents\Django-Project\.venv\Lib\site-packages\rest_framework\views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "C:\Users\batkh\OneDrive\Documents\Django-Project\.venv\Lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception raise exc File "C:\Users\batkh\OneDrive\Documents\Django-Project\.venv\Lib\site-packages\rest_framework\views.py", line 506, in dispatch response = handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\batkh\OneDrive\Documents\Django-Project\data_models\views.py", line 20, in post token, created = Token.objects.get_or_create(user=user) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\batkh\OneDrive\Documents\Django-Project\.venv\Lib\site-packages\django\db\models\manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\batkh\OneDrive\Documents\Django-Project\.venv\Lib\site-packages\django\db\models\query.py", line 953, in get_or_create with transaction.atomic(using=self.db): File "C:\Users\batkh\OneDrive\Documents\Django-Project\.venv\Lib\site-packages\django\db\transaction.py", line 263, in __exit__ connection.commit() File "C:\Users\batkh\OneDrive\Documents\Django-Project\.venv\Lib\site-packages\django\utils\asyncio.py", line 26, in inner return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\batkh\OneDrive\Documents\Django-Project\.venv\Lib\site-packages\django\db\backends\base\base.py", line 323, in commit self._commit() File "C:\Users\batkh\OneDrive\Documents\Django-Project\.venv\Lib\site-packages\django\db\backends\base\base.py", line 298, in _commit with debug_transaction(self, "COMMIT"), self.wrap_database_errors: File "C:\Users\batkh\OneDrive\Documents\Django-Project\.venv\Lib\site-packages\django\db\utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "C:\Users\batkh\OneDrive\Documents\Django-Project\.venv\Lib\site-packages\django\db\backends\base\base.py", line 299, in _commit return self.connection.commit() ^^^^^^^^^^^^^^^^^^^^^^^^ django.db.utils.IntegrityError: FOREIGN KEY constraint failed // this is my views.py code from django.contrib.auth import authenticate, login, logout from django.http import JsonResponse from django.views import View from rest_framework.authtoken.models import Token from .models import User from .serializers import UserSerializer from rest_framework import status from django.views.decorators.csrf import csrf_exempt from django.utils.decorators import method_decorator import json from rest_framework.response import Response from rest_framework.views import APIView class RegisterView(APIView): def post(self, request, *args, **kwargs): serializer = UserSerializer(data=request.data) if serializer.is_valid(): user = serializer.save() token, created = Token.objects.get_or_create(user=user) return Response({ 'id': user.id, 'username': user.username, 'areacode': user.areacode, 'phone_number': user.phone_number, 'token': token.key }, status=status.HTTP_201_CREATED) else: return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST) class LoginView(View): def post(self, request, *args, **kwargs): data = json.loads(request.body) username = data.get('username') password = data.get('password') user = authenticate(request, username=username, password=password) if user is not None: login(request, user) token, created = Token.objects.get_or_create(user=user) return JsonResponse({'token': token.key}, status=status.HTTP_200_OK) return JsonResponse({'error': 'Invalid credentials'}, status=status.HTTP_400_BAD_REQUEST) class LogoutView(View): def post(self, request, *args, **kwargs): if request.user.is_authenticated: request.user.auth_token.delete() logout(request) return JsonResponse({'message': 'Logged out successfully'}, status=status.HTTP_200_OK) return JsonResponse({'error': 'User not authenticated'}, status=status.HTTP_400_BAD_REQUEST) 
submitted by HungryBar3834 to django [link] [comments]


2024.05.21 04:20 MoonKnight0212 So fellas, Flipkart bit**ing with me

Let me start from the start. So a few days ago i shattered my phone screen and my parents decided to just get a new phone because fixing the screen of a cheap phone doesn't seem to be the better option. So I searched and settled for moto g34. But when we went for ordering for some reason when logging into Flipkart, my father first tried to login through his phone number, he managed to login but for some reason the profile wasn't showing his name or his email id, so he decided to logout and then login with his email id and now the same account opened with the exact same order history and yes I mean same down to the last details like the products delivered were same, the delivery dates were same and the delivery details like address and phone numbers were same, but neither the items in cart weren't the same nor the "my profile" tab was same, like the number one didn't have the email id and the email one didn't have the number.
So we said f it and ordered the mobile, and there we see some unknown guy's number on the order, there were a total of two numbers which should have been both of my father, but it wasn't, one was my father's number and the other was an unknown number.
We tried to connect customer support and they were as much heal as a blanket would be in a volcanic eruption. They couldn't remove the extra mobile number from our account, and when asked for other methods they just said that we should "log out from all devices". So we out of fear that someone might have hacked into the account did log out from all devices, then we would have changed the password but that fukin Flipkart fuker did not even let us open the account again. It kept saying "maximum attempt reached please try again 24 hr later" even though we didn't like this but atleast this meant that even the scammer wouldn't be able to access the account.
But now when Flipkart asked for verification of our address on WhatsApp but now my father is paranoid and not doing it thinking that the Flipkart account is fraud. And now I am scared that if that other number had also recieved the verification request then he could change the address of delivery to his rather than ours.
What do I do guys, please help
Edit:- also the order placed is also being only shown when logging in through mobile number and not through the email id even though both are the same freakin account
submitted by MoonKnight0212 to IndianGaming [link] [comments]


2024.05.20 23:44 Future_P HugeWin Casino - All in One Benefits of Sports Bet, Casino Game and More

https://preview.redd.it/afkfbg0pin1d1.jpg?width=790&format=pjpg&auto=webp&s=7f2ba64724b065458a42062445a05c088898ecf7
HugeWin Casino is an internationally recognized online casino that strives to provide players from all over the world with an incredible gaming experience. Although it was founded in January 2024, HugeWin Casino has gained popularity because of its rich feature set, sophisticated design, and numerous promotional offers. HugeWin Casino offers live betting from the beginning of the game, enabling you to adjust the pricing in response to events and changing player dynamics. Players can also cash out their active bets early to lock in earnings or minimize losses. HugeWin offers a wide selection of casino games, enhanced security, sports betting, and many other unique products to enhance your gaming experience.
Security is, of course, the top concern when handling real money and private information. Now let's look at some important security and technological strategies. crucial instruments that casinos employ to safeguard gamblers. At HugeWin Casino, 256-bit SSL encryption is used for all data transmissions. This standard for banking excellence is used by major retailers and financial institutions worldwide. Any information that is intercepted as a result is rendered illegible. Dependable infrastructure The massive casino server is kept in a physical security data center, an environmental control room, and a backup generator.
Two-factor authentication (2FA): Users can enable 2FA on their accounts, making the login process more secure by generating a separate one-time code that is required in addition to a password. HugeWin Casino promotes healthy gaming following recommended responsible gaming standards, with deposit limits, waiting periods, and self-exclusion options.
No KYC: You must not provide your ID or other personal information when depositing, playing, or withdrawing money at HugeWin Casino. Brandmauer Protection: Filtering of firefighters around the network offers additional security and monitors incoming traffic for suspicious activities.
HugeWin Casino offers its clients a safe and secure environment by adhering to all player protection laws, including firewalls, 2FA, encryption, data center level security, no KYC, and tools liability gaming.
https://hugewin.com
https://twitter.com/hugewincasino
https://coinmarketcap.com/currencies/hugewin/
submitted by Future_P to BitcoinGambling [link] [comments]


2024.05.20 21:28 abneuz HTTP Cookie disappears on refresh in production but works in development

I am building a full stack application using React, Node, and PostgreSQL. When I deploy it, there's an issue with the login process. Users can log in successfully and the credentials are sent back to the frontend, but the HTTP cookie is only set once. After refreshing the page, the cookie disappears from the Application tab in the browser, so users aren't redirected to the dashboard. This problem doesn't happen in development mode. I also see a yellow highlight on the access token in the Application tab. Does this mean something?
Also, I am deploying the frontend and backend separately on Vercel. This is the link to the project repository for the full code: https://github.com/dangol-anish/linkleap
This is my code for the index file
const dotenv = require("dotenv"); dotenv.config(); const express = require("express"); const app = express(); const cookieParser = require("cookie-parser"); const cors = require("cors"); const bcryptjs = require("bcryptjs"); const pool = require("./model/config.js"); // user defined imports const errorHandler = require("./utils/errorHandler.js"); const verifyToken = require("./utils/verifyToken.js"); const { verifyUserToken, } = require("../backend/controllers/auth.controller.js"); const authRouter = require("./routes/auth.router.js"); const userRouter = require("./routes/user.route.js"); const companyRouter = require("./routes/company.route.js"); const customerRouter = require("./routes/customer.route.js"); const dashboardData = require("./routes/dashboard.route.js"); // middlewares app.use( cors({ origin: process.env.API_URL, credentials: true, }) ); app.use(express.json()); app.use(cookieParser()); // routes app.use("/api/auth", authRouter); app.use("/api/user", verifyToken, userRouter); app.use("/api/company", verifyToken, companyRouter); app.use("/api/customer", verifyToken, customerRouter); app.use("/api/dashboard", verifyToken, dashboardData); app.get("/verifyUserToken", verifyToken, verifyUserToken); app.get("/", (req, res) => { res.send("Node on Vercel"); }); app.use((err, req, res, next) => { const statusCode = err.statusCode 500; const message = err.message "Internal Server Error"; return res.status(statusCode).json({ success: false, statusCode, message, }); }); app.listen(process.env.PORT, () => { console.log("Running on port 3000"); }); 
This is my code for setting the cookie
 // store jwt token in http only cookie const accessToken = jwt.sign( { id: checkExistingUserResult.rows[0].id, }, process.env.JWT ); const expiryDate = new Date(); expiryDate.setTime(expiryDate.getTime() + 24 * 60 * 60 * 1000); res .cookie("accessToken", accessToken, { expires: expiryDate, httpOnly: true, secure: true, }) .status(200) .json({ success: true, message: rest, }); 
This is my frontend React code for Login
 const [formData, setFormData] = useState({}); const handleChange = (e) => { setFormData({ ...formData, [e.target.id]: e.target.value }); }; const handleSubmit = async (e) => { e.preventDefault(); if (!formData.userName !formData.userPassword) { toast.error("All input fields are required"); return; } try { const res = await fetch( `${import.meta.env.VITE_API_URL}/api/auth/login`, { method: "POST", headers: { "Content-Type": "application/json", }, body: JSON.stringify(formData), credentials: "include", } ); const data = await res.json(); if (data.success === true) { toast.success("Login successful"); navigate("/dashboard"); localStorage.setItem("data", JSON.stringify(data.message)); } else { toast.error(data.message); } } catch (error) { toast.error("Error: " + error); } }; 
submitted by abneuz to node [link] [comments]


2024.05.20 20:24 Zarksch Account vanished

I haven’t used my pc to game in years. I know EA has moved on to the EA app but I still had origin installed - showing my ID and my games. Trying to login to my account with my ID or email Adress just says „Your login data is incorrect or expired. Please try again or reset your password“ trying to reset the password it says „we can’t find your EA account“
I still see it in the offline origin app though as well as my games. How do I get my games back ?
submitted by Zarksch to origin [link] [comments]


2024.05.20 19:35 Blue_OoO AAA Configuration with Cisco WS-C2960X-24TD-L

AAA Configuration with Cisco WS-C2960X-24TD-L submitted by Blue_OoO to Cisco [link] [comments]


2024.05.20 18:49 lighthills Edge browser no longer saving credentials for non-default work profiles

I noticed that, for the last few weeks, every time I open a secondary Edge work profile to log into Entra ID portals or any other web based resource that uses that Edge profile account for SSO, I am prompted to re-enter the password plus MFA. It only saves the user ID. This used to be saved for at least several days. I assume there was a PRT stored on the machine for that second account that was caching the credentials.
The account is registered in the local Windows work and school accounts.
Does anyone know why this would stop working?
The default Edge profile that matches the Windows login account still works for SSO.
submitted by lighthills to sysadmin [link] [comments]


2024.05.20 18:27 TheTwelveYearOld If Continuity Camera exists then what stops Macs from using an iPhone's FaceID for authentication along with login passwords and TouchID?

You can mount your iPhone up to use the back camera for Continuity Camera, but what if you could use FaceID on iPhone while mounted for login and authentication on macOS? It seems feasible, the iPhone would do the FaceID processing and give the mac the go-ahead for authentication. It would be faster than reaching for the Mac's TouchID sensor or typing your account password.
submitted by TheTwelveYearOld to MacOS [link] [comments]


2024.05.20 18:26 TheTwelveYearOld If Continuity Camera exists then what stops Macs from using an iPhone's FaceID for authentication along with login passwords and TouchID?

You can mount your iPhone up to use the back camera for Continuity Camera, but what if you could use FaceID on iPhone while mounted for login and authentication on macOS? It seems feasible, the iPhone would do the FaceID processing and give the mac the go-ahead for authentication. It would be faster than reaching for the Mac's TouchID sensor or typing your account password.
submitted by TheTwelveYearOld to mac [link] [comments]


2024.05.20 16:58 Wiesnak20 I need help

Today i got these questions to do in cisco packet tracer, is this doable? Thank you and sorry English is not my first language Questions:Configure the network interfaces of your computer and network devices to allow access to the local network.
  1. Using connecting cables, connect computers and network devices according to the diagram shown in the figure on the previous page.
  2. Configure the router's network interfaces as recommended. If the router setup process forces you to change your passwords, record your login information after the change:
WAN-IP/mask 10.0.0.3/24, gateway-10.0.0.1/24, DNS - localhost;
LAN port no. 2-IP/mask 192.168.1.1/24.
Configure VLAN on router create VLAN 12 and VLAN 13 and add router port 2 to both VLANs with outbound rule marked.
Disable wireless and DHCP support.
  1. Configure the switch connected to the router as recommended. If the switch configuration process forces you to change your password, report the login information after the change:
IP/mask 192.168.1.2/24;
⚫ default gateway 192.168.1.1;
create VLAN with ID=12;
create VLAN WITH ID-13;
⚫ to VLAN 12 add ports 1 and 2 as untagged ports;
⚫ to VLAN 13 add ports 1 and 3 as untagged ports;
define the outbound rule for port 1 according to the tags in VLAN 2 1 VLAN 3; specify port 2 outbound rule on VLAN 2 as untagged: specify port 3 outbound rule on VLAN 3 as untagged;
⚫port 4 untagged (in access mode), assigned to VLAN ID-2.
  1. On the workstation connected to port 3 of the switch connected to the router, configure the wired NIC as follows:
⚫ network connection name INT1;
⚫ IP address/mask 192.168.1.3/24;
⚫ gateway address 192.168.1.1;
⚫DNS address 8.8.8.8.
  1. On the printer or IoT device, configure the wired NIC network interface as recommended:
⚫ IP address/mask 192.168.1.4/24;
⚫ gateway address 192.168.1.1.
  1. Check whether there is a connection from the workstation command line to the router and printer (IoT device).
  2. Save the report document on the medium described as EFFECTS and hand it over to the teacher for evaluation.
submitted by Wiesnak20 to ccna [link] [comments]


2024.05.20 16:54 Uniden0 Login servers down

I'm putting in my password correctly, however it is giving me the "incorrect password message" and when I put in a password I know is not correct..it gives me a different incorrect password message. Are login servers down or am I being messed with? Even the website is giving me problems, and I'd rather avoid having to deal with a 24 hour wait period for support to get ahold of me.
submitted by Uniden0 to ffxiv [link] [comments]


2024.05.20 16:42 FMPICA Can't log in after logging out (AUTH.JS)

Hi,
As the title says. As soon as I log out. I can not log in again with credentials. To debug, I put a console.log() in my login.ts server action. But that code is not logged.
Anyone an idea whats going on? If I refresh I can log in again without problems.
Code:
auth.config.ts import bcrypt from "bcryptjs"; import type { NextAuthConfig } from "next-auth"; import Credentials from "next-auth/providers/credentials"; import Github from "next-auth/providers/github"; import Google from "next-auth/providers/google"; import { LoginSchema } from "./schemas"; import { getUserByEmail } from "@/data/user"; export default { providers: [ Google({ clientId: process.env.GOOGLE_CLIENT_ID, clientSecret: process.env.GOOGLE_CLIENT_SECRET, allowDangerousEmailAccountLinking: true, }), Github({ clientId: process.env.GITHUB_CLIENT_ID, clientSecret: process.env.GITHUB_CLIENT_SECRET, allowDangerousEmailAccountLinking: true, }), Credentials({ async authorize(credentials) { const validatedFields = LoginSchema.safeParse(credentials); if (validatedFields.success) { const { email, password } = validatedFields.data; const user = await getUserByEmail(email); if (!user !user.password) return null; const passwordsMatch = await bcrypt.compare(password, user.password); if (passwordsMatch) return user; } return null; }, }), ], } satisfies NextAuthConfig; 

auth.ts import NextAuth from "next-auth"; import { UserRole } from "@prisma/client"; import { PrismaAdapter } from "@auth/prisma-adapter"; import { db } from "@/lib/db"; import authConfig from "@/auth.config"; import { getUserById } from "@/data/user"; import { getTwoFactorConfirmationByUserId } from "./data/two-factor-confirmation"; import { getAccountByUserId } from "./data/account"; export const { handlers, auth, signIn, signOut, update } = NextAuth({ events: { async linkAccount({ user }) { await db.user.update({ where: { id: user.id }, data: { emailVerified: new Date() }, }); }, }, callbacks: { async signIn({ user, account }) { // Allow OAuth without email verification if (account?.provider !== "credentials") return true; const existingUser = await getUserById(user.id as string); // Prevent sign in without email verification if (!existingUser?.emailVerified) return false; if (existingUser.isTwoFactorEnabled) { const twoFactorConfirmation = await getTwoFactorConfirmationByUserId( existingUser.id ); if (!twoFactorConfirmation) return false; // Delete two factor confirmation for next sign in await db.twoFactorConfirmation.delete({ where: { id: twoFactorConfirmation.id }, }); } return true; }, async session({ token, session }) { if (token.sub && session.user) { session.user.id = token.sub; } if (token.role && session.user) { session.user.role = token.role as UserRole; } if (session.user) { session.user.isTwoFactorEnabled = token.isTwoFactorEnabled as boolean; } if (session.user) { session.user.name = token.name; session.user.email = token.email as string; session.user.isOAuth = token.isOAuth as boolean; } return session; }, async jwt({ token }) { if (!token.sub) return token; const existingUser = await getUserById(token.sub); if (!existingUser) return token; const existingAccount = await getAccountByUserId(existingUser.id); token.isOAuth = !!existingAccount; token.name = existingUser.name; token.email = existingUser.email; token.role = existingUser.role; token.isTwoFactorEnabled = existingUser.isTwoFactorEnabled; return token; }, }, pages: { signIn: "/", error: "/", }, adapter: PrismaAdapter(db), session: { strategy: "jwt" }, ...authConfig, }); 

loginModal.tsx const onSubmit = async (values: z.infer) => { setError(""); setSuccess(""); setIsPending(true); console.log(values); try { console.log("try"); const data = await login(values); console.log("no try", data); // data is undefined (server action ALWAYS returns a value) 

submitted by FMPICA to nextjs [link] [comments]


2024.05.20 15:29 generaleinverno Is possibile to change user account from local to use Apple ID?

Title - basically I have an apple ID logged into the Mac but I have a local user account in the Login.
Is possible to add the Apple ID in login instead of the password of the local user? Or create a user with the credentials of the Apple ID.
Thanks in advance.
submitted by generaleinverno to mac [link] [comments]


http://activeproperty.pl/